/**
 * Created by shawn on 2017/12/15.
 */

$(document).ready(function(){
    $(".btn1").click(function(){
        $("p").slideToggle();
    });

    $("#table").

    $('#table').bootstrapTable({
        url: '/VenderManager/TradeList'

    })


});

var $table = $('#table');

function ajaxRequest(params) {
    // data you need
    console.log(params.data);
    // just use setTimeout
    setTimeout(function () {
        params.success({
            total: 100,
            rows: [{
                "id": 0,
                "name": "Item 0",
                "price": "$0"
            }]
        });
    }, 1000);
}